﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace DataModels.Models.IQWebsite
{
    public class TripReportDistrict
    {

        [Key, Column(Order = 0)]
        public int DistrictId { get; set; }
        
        [Key, Column(Order = 1)]
        public int TripReportId { get; set; }

        [ForeignKey("DistrictId")]
        public virtual District District { get; set; }

        [ForeignKey("TripReportId")]
        public virtual TripReport TripReport { get; set; }
    }
}
